package com.zijie.hosptal.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zijie.hosptal.pojo.po.Patient;

import java.util.List;

public interface PatientService {
    Page<Patient> list(Page<Patient> patientPage, Patient patient);

    boolean save(Patient patient);

    boolean updateById(Patient patient);

    Patient getById(Integer id);

    List<Patient> getAllPatient();

}
